package com.atguigu.spzx.cloud.order.config;

import org.springframework.cloud.client.loadbalancer.LoadBalanced;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * BelongProject: springCloud
 * BelongPackage: com.atguigu.spzx.cloud.order.config
 * Description:
 *
 * @Author 段鑫涛
 * @Create 2025/5/24 11:49
 * @Version 1.0
 */
@Configuration
public class RestTemplateConfiguration {

    @Bean
    @LoadBalanced
    public RestTemplate restTemplate() {
        return new RestTemplate() ;
    }



}
